<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">

        <div class="layui-form-item">
            <label class="layui-form-label">红包名称</label>
            <div class="layui-input-block">
                <input type="text" name="title" class="layui-input" lay-verify="required" placeholder="请输入红包名称" value="">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">适用商品</label>
            <div class="layui-input-block">
                <select name="goods_id"  data-select="{:url('mall.goods/getGoodsOnsalesList')}" data-fields="id,title">
                </select>
                <tip>不选择默认适用所有商品</tip>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">红包金额</label>
            <div class="layui-input-block">
                <input type="text" name="money" class="layui-input" lay-verify="required" placeholder="请输入红包金额" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">使用满额</label>
            <div class="layui-input-block">
                <input type="text" name="maxmoney" class="layui-input" lay-verify="required" placeholder="请输入使用满额金额" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">使用时间段</label>
            <div class="layui-input-block" style="display: flex">
                <input type="text" name="starttime" class="layui-input" lay-verify="required" data-date="" data-date-type="datetime"  placeholder="请选择时间" value="">
                <input type="text" name="endtime" class="layui-input" lay-verify="required" data-date="" data-date-type="datetime" placeholder="请选择时间" value="">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注信息</label>
            <div class="layui-input-block">
                <textarea name="remark" class="layui-textarea" placeholder="请输入备注信息"></textarea>
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>